package enum

type ResponeType int

const (
	OperateOk   ResponeType = 200
	OperateFail ResponeType = 500
)

func (p ResponeType) String() string {
	switch p {
	case OperateOk:
		return "ok"
	case OperateFail:
		return "fail"
	default:
		return "UNKNOW"
	}
}
